import React, { Component } from 'react'

class View extends Component {
  render() {
    let { topicName, title, domain } = this.props.top
    return (
      <>
        <div className="list-ri-top">
          <div className="title">
            <a href="/not">
              <img
                src="https://dig.chouti.com/images/mark/topic_icon-d15bdf1385.png"
                alt="?"
              />
              <span>{topicName}</span>
            </a>
          </div>
          <a className="list-main" href="/not">
            {title}
          </a>
          <p className="url">{domain}</p>
        </div>
      </>
    )
  }
}
export default View
